home *** CD-ROM | disk | FTP | other *** search
- 151 Type "FORFILES /?" for usage.\n
- 152 Invalid syntax.\n
- 154 Invalid date specified.\n
- 155 No files found with the specified search criteria.\n
- 161 Files of type
- 162 not found. \n
- 163 is not a valid executable.\n
- 164 TRUE
- 165 FALSE
- 167 Access is denied for
- 169 .\n
- 170 "
- 171 The specified directory does not exist.\n
- 172 UNC paths (\\machine\share) are not supported.\n
- 173 MM%sdd%syyyy
- 174 MM%syyyy%sdd
- 175 dd%sMM%syyyy
- 176 dd%syyyy%sMM
- 177 yyyy%sdd%sMM
- 178 yyyy%sMM%sdd
- 201 \n
- 202 FORFILES [/P pathname] [/M searchmask] [/S]\n
- 203 [/C command] [/D [+ | -] {%s | dd}]\n\n
- 204 Description:\n
- 205 Selects a file (or set of files) and executes a \n
- 206 command on that file. This is helpful for batch jobs.\n\n
- 207 Parameter List:\n
- 208 /P pathname Indicates the path to start searching.\n
- 209 The default folder is the current working\n
- 210 directory (.).\n\n
- 211 /M searchmask Searches files according to a searchmask.\n
- 212 The default searchmask is '*' .\n\n
- 213 /S Instructs forfiles to recurse into\n
- 214 subdirectories. Like "DIR /S".\n\n
- 215 /C command Indicates the command to execute for each file.\n
- 216 Command strings should be wrapped in double\n
- 217 quotes. \n\n
- 218 The default command is "cmd /c echo @file".\n\n
- 219 The following variables can be used in the\n
- 220 command string:\n
- 221 @file - returns the name of the file.\n
- 222 @fname - returns the file name without\n
- 223 extension.\n
- 224 @ext - returns only the extension of the\n
- 225 file.\n
- 226 @path - returns the full path of the file.\n
- 227 @relpath - returns the relative path of the\n
- 228 file.\n
- 229 @isdir - returns "TRUE" if a file type is\n
- 230 a directory, and "FALSE" for files.\n
- 231 @fsize - returns the size of the file in\n
- 232 bytes.\n
- 233 @fdate - returns the last modified date of the\n
- 234 file.\n
- 235 @ftime - returns the last modified time of the\n
- 236 file.\n\n
- 237 To include special characters in the command \n
- 238 line, use the hexadecimal code for the character\n
- 239 in 0xHH format (ex. 0x09 for tab). Internal\n
- 240 CMD.exe commands should be preceded with\n
- 241 "cmd /c".\n\n
- 242 /D date Selects files with a last modified date greater\n
- 243 than or equal to (+), or less than or equal to\n
- 244 (-), the specified date using the\n
- 245 "%s" format; or selects files with a\n
- 246 last modified date greater than or equal to (+)\n
- 247 the current date plus "dd" days, or less than or\n
- 248 equal to (-) the current date minus "dd" days. A\n
- 249 valid "dd" number of days can be any number in\n
- 250 the range of 0 - 32768.\n
- 251 "+" is taken as default sign if not specified.\n\n
- 252 /? Displays this help message.\n\n
- 253 Examples:\n
- 254 FORFILES /?\n
- 255 FORFILES \n
- 256 FORFILES /P C:\WINDOWS /S /M DNS*.* \n
- 257 FORFILES /S /M *.txt /C "cmd /c type @file | more"\n
- 258 FORFILES /P C:\ /S /M *.bat\n
- 259 FORFILES /D -30 /M *.exe\n
- 260 /C "cmd /c echo @path 0x09 was changed 30 days ago"\n
- 261 FORFILES /D %s\n
- 262 /C "cmd /c echo @fname is new since Jan 1st 2001"\n
- 263 FORFILES /D +%s /C "cmd /c echo @fname is new today"\n
- 264 FORFILES /M *.exe /D +1\n
- 265 FORFILES /S /M *.doc /C "cmd /c echo @fsize" \n
- 266 FORFILES /M *.txt /C "cmd /c if @isdir==FALSE notepad.exe @file"
- 267 \n
- 5001 ERROR:
- 5002 WARNING:
- 5003 SUCCESS:
- 5004 INFO:
- 5005 N/A
- 5501 Type the password for %s:
- 5502 Passing the user credential for local connection.\n
- 5503 The target system must be running Windows XP or above.\n
- 5504 The remote system must be running Windows 2000 or above.\n
- 5601 Invalid syntax. '%s' value is not allowed for '%s' option.\n%s\n
- 5602 Invalid syntax. Specify valid numeric value for '%s'.\n%s\n
- 5603 Invalid syntax. Specifiy valid floating point value for '%s'.\n%s\n
- 5604 Invalid syntax. Mandatory option '%s' is missing.\n%s\n
- 5605 Invalid syntax. '%s' option is not allowed more than '%d' time(s).\n%s\n
- 5607 Invalid argument/option - '%s'.\n%s\n
- 5608 Invalid syntax. Default argument is missing.\n%s\n
- 5609 Length of the command line argument should not exceed 255 characters.\n
- 5610 Invalid syntax. Default option is not allowed more than '%d' time(s).\n%s\n
- 5611 Invalid syntax. Value expected for '%s'.\n%s\n
- 5612 Invalid syntax. '%s' value is not allowed as default argument.\n%s\n
- 5613 Type "%s /?" for usage.
- 5614 Value for '%s' option cannot be empty.\n%s\n
- 5615 Value for default option cannot be empty.\n%s\n
- 5616 Invalid syntax. Specify valid numeric value for default.\n%s\n
- 5617 Invalid syntax. Specifiy valid floating point value for default.\n%s\n
- 5618 Value for default option cannot be more than %d character(s).\n
- 5619 Invalid syntax. Value cannot be specified with '%s' option.\n%s\n
- 5620 Value for '%s' option cannot be more than %d character(s).\n
-